package com.zhongyouyun.utils;

import cn.hutool.core.util.ObjectUtil;

import java.math.BigDecimal;

public class StrUtils {

    /*
    去除数字和.以外的特殊字符
  */
    public static String chuzif(String str){
        if (ObjectUtil.isNotEmpty(str)){
            return str.trim().replaceAll("[^\\d.]","");
        }
        return  "0";

    }
}
